package com.hlz.lib.effectivejava.chapter2;

/**
 * @author Hongliang Zhu
 * @create 2023-08-20 14:13
 */
public class NutritionMain {
    public static void main(String[] args) {
        NutritionFacts3.Builder builder = new NutritionFacts3.Builder(240, 99);
        builder.calories(100);
        builder.fat(10);
        builder.carbohydrate(88);
        builder.sodium(76);

        NutritionFacts3 nutritionFacts3 = builder.build();

        System.out.println(nutritionFacts3);
    }
}
